package com.maven.front.mapper;


import com.maven.front.bean.EduCourseStudyhistory;

import java.util.List;

public interface EduCourseStudyhistoryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(EduCourseStudyhistory record);

    int insertSelective(EduCourseStudyhistory record);

    EduCourseStudyhistory selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(EduCourseStudyhistory record);

    int updateByPrimaryKeyWithBLOBs(EduCourseStudyhistory record);

    int updateByPrimaryKey(EduCourseStudyhistory record);

    List<EduCourseStudyhistory> selectByUpdateTime();

    EduCourseStudyhistory selectByUserIdAndKpointId(EduCourseStudyhistory eduCourseStudyhistory);

    List<EduCourseStudyhistory> selectViewTimeByUserId(Integer userId);
}